/*
 * Copyright (c) 2021, 2022, yzfh.cn All rights reserved.
 *
 */
package com.ly.dao;

import com.ly.domain.User;

import java.util.List;

/**
 * @author yzfh
 * @Date 2022/02/19 星期六 12:50:20
 */
public interface UsrDao {
    List<User> findAll();

    Long save(User user);

    void saveUserRoleRel(Long id, Long[] roleIds);

    void delUserRoleRel(Long userId);

    void del(Long userId);

    User findByUsernameAndPassword(String username, String password);
}
